/**
 * members.css - 会员中心页面样式
 */

.members-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0 40px;
}

.members-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.members-hero p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.member-level-card {
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
    transition: all 0.3s;
    background: white;
}

.member-level-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.level-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.level-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-right: 15px;
}

.level-0 .level-icon { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.level-1 .level-icon { background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); }
.level-2 .level-icon { background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); }
.level-3 .level-icon { background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%); }
.level-4 .level-icon { background: linear-gradient(135deg, #fa709a 0%, #fee140 100%); }
.level-5 .level-icon { background: linear-gradient(135deg, #30cfd0 0%, #330867 100%); }

.level-info h4 {
    margin: 0;
    font-size: 1.3rem;
    color: #333;
}

.level-info .points {
    color: #666;
    font-size: 0.9rem;
}

.level-benefits {
    padding-left: 20px;
    color: #666;
    line-height: 1.8;
}

.rank-list {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.rank-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s;
}

.rank-item:last-child {
    border-bottom: none;
}

.rank-item:hover {
    background: #f8f9fa;
}

.rank-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 15px;
    color: white;
}

.rank-number.top1 { background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%); }
.rank-number.top2 { background: linear-gradient(135deg, #C0C0C0 0%, #808080 100%); }
.rank-number.top3 { background: linear-gradient(135deg, #CD7F32 0%, #8B4513 100%); }
.rank-number.normal { background: #999; }

.rank-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
}

.rank-info {
    flex: 1;
}

.rank-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.rank-level {
    font-size: 0.85rem;
    color: #666;
}

.rank-points {
    font-weight: 700;
    color: #667eea;
    font-size: 1.1rem;
}

.vip-badge {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    margin-left: 10px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.tab-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 25px;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.tab-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.tab-btn:hover:not(.active) {
    border-color: #667eea;
    color: #667eea;
}
